package com.wom.blocks;

import java.awt.Graphics;

import com.wom.blockfeatures.BlockRenderer;
import com.wom.blockfeatures.BreakableBlock;

public class TreeLeavesBlock extends AbstractBlock{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public BlockRenderer renderble;
	public BreakableBlock breakable;

	public TreeLeavesBlock(int xPos, int yPos) {
		super(xPos, yPos);
		int[] tileId={6,0};
		setId(tileId);
		setName("TreeLeaf");
		breakable=new BreakableBlock(150, 4);
		// TODO Auto-generated constructor stub
		renderble=new BlockRenderer();
	}

	@Override
	public void renderBlock(Graphics g) {
		renderble.renderBlock(this, g);
		
	}

	@Override
	public void updateBlock() {
		// TODO Auto-generated method stub
		
	}
	
}